package vip.xiaonuo.vein.controller.vo;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
public class Restart {

    @JSONField(name = "config_command")
    private ConfigCommand config_command;

    public Restart(){
        ConfigCommand command = new ConfigCommand();
        this.config_command = command;
    }

    @NoArgsConstructor
    @Data
    class ConfigCommand{
        @JSONField(name = "reboot")
        private boolean reboot = true;

        @JSONField(name = "enable_device")
        private boolean enableDevice = true;

    }

}
